<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:68:"/var/www/fish/application/crm/view/ordermanager/saleProgramList.html";i:1514525660;}*/ ?>
<!DOCTYPE html>
<html>
  
  <head>
    <meta charset="UTF-8">
    <title>小鱼ADMIN</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <link rel="stylesheet" href="/public/static/css/font.css">
    <link rel="stylesheet" href="/public/static/css/bgadmin.css">
    <script type="text/javascript" src="/public/static/js/jquery-1.8.0.min.js"></script>
    <script type="text/javascript" src="/public/static/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="/public/static/js/bgadmin.js"></script>
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
      <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
      <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  <style>
  .layui-input{height:30px;}
  .layui-form-label{line-height: 16px;}
  </style>
  <body>
	<div class="bg-body">
		<div class="layui-row">
			<form class="layui-form ">
			  <div class="layui-form-item">
				  <div class="layui-input-inline"  style="width:50%;">
					<input type="text" name="program_name" lay-verify="" id="program_name_id" placeholder="请输入销售方案名称搜索" autocomplete="off" class="layui-input">
				  </div>
				  <div class="layui-inline">
					<a class="layui-btn layui-btn-small"  id="search"  lay-submit="" lay-filter="sreach"><i class="layui-icon" >&#xe615;</i></a>
				  </div>
				  <?php if(is_array($typeData) || $typeData instanceof \think\Collection || $typeData instanceof \think\Paginator): $i = 0; $__LIST__ = $typeData;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo2): $mod = ($i % 2 );++$i;?> 
				  <div class="layui-inline">
					<a class="layui-btn layui-btn-small layui-btn-warm" onclick="fastSearch('<?php echo $vo2['id']; ?>')"><i class="layui-icon" ><?php echo $vo2['program_type']; ?></i></a>
				  </div>
				  <?php endforeach; endif; else: echo "" ;endif; ?>
			  </div>
			</form>
		</div>
		<table class="layui-table" lay-data="{ height:260, url:'/index.php/crm/Saleprogram/saleProgramDataList?enable=Y&task_id=<?php echo $task_id; ?>', page:true, id:'idGoods', limit:10, limits:[10,20,30,50]}" lay-filter="demo">
		  <thead>
			<tr>
				<!--<th lay-data="{checkbox:true, fixed: true}"></th>-->
				<th lay-data="{field:'program_name', width:140 }">方案名称</th>
				<th lay-data="{field:'price', width:100,sort: true, align:'center' }">方案价格</th>
				<th lay-data="{field:'goods_info', width:160 }">商品明细</th>
				<th lay-data="{field:'description', width:160}">描述</th>
				<th lay-data="{fixed: 'right', width:100, align:'center', toolbar: '#barDemo'}">操作</th>
			 </tr>
		  </thead>
		</table>
		 
		<script type="text/html" id="barDemo">
		  <a class="layui-btn layui-btn-mini" lay-event="add">添加到订单</a>
		</script>

	</div>
	<script type="text/javascript" src="/public/static/crm/js/orderManager/saleProgramList.js"></script>
  </body>

</html>